package com.yc.damai.damaiindex.web.fegin;

import com.yc.damai.bean.Result;
import com.yc.damai.entity.DmProduct;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * Company 源辰信息
 *
 * @author navy
 * @date 2024/9/6
 * Email haijunzhou@hnit.edu.cn
 */
@Component
public class OtherActionImpl implements OtherAction{

    List<?> hotsCache;

    @Override
    public List<?> queryHots() {
        return hotsCache;
    }

    @Override
    public List<DmProduct> querySecKillProduct() {
        return null;
    }

    @Override
    public Result updateSecKillProduct(List<DmProduct> products) {
        return null;
    }

    public void setHotsCache(List<?> hotsCache) {
        this.hotsCache = hotsCache;
    }
}
